Adding initial api for identity and storage.
Remove model classes from classes.js and actually remove usage of classes.js for now, keeping it in case we want to use the database abstraction.