Changes to collection structure
Updated all server side functions for the new schema
Fixed some bugs
Fixed major bugs from the conversion to arrays