Refactor models into more declarative format
Fix token expiration date
Add missing Minimist dependency