models working, starting on api