refactored case classes, added lift-json, migrating JSON parser