change Category, Payment type to int
refactor, fix bug of adding Category
finish archiving data
add ID to all classes. fix bug in saving and restoring