Models and API changes. New classes view.

Added current field to Classes. Added class archive view. Modified API
extrating connection, using mongoose default connection and a OO style.