Shared models and other code for platform