ORM Implementation, Login Persistence, Back-end

Sorting and Folding should be persistent with SQLite database. Login
implemented through html5 session storage.