def main():
    todo = ToDo("test.json")
    todo.add_item('A pixel is not a pixel is not a pixel', 'programming')
    todo.add_item('The Scheme Programming language', 'programming')
    todo.add_item('Memory in C', 'programming')
    todo.add_item("Haskell's School of Music", 'programming', 'music')
    todo.add_item('Algorithmic Symphonies from one line of code', 'programming', 'music')
    todo.add_item('Modes in Folk Music', 'music')
    todo.add_item('The use of the Meloddic Minor Scale', 'music')

    todo.update_item('The use of the Melodic Minor Scale', 'The use of the Melodic Minor Scale')
    todo.view_list('programming')
    print
    todo.view_list('music')
    print
    todo.view_list('music', 'programming')