WIP: refactoring models into ActiveRecord
WIP: Entering and viewing Complexes working