Better logging of app creation.
Added model relationships.