Refactors models to be exposed more logically on the connection. Started writing documentation.