sqlite3 is only required in development
Simplified database schema. Cleaned up ApplicationController. Numerous class renamings. Moved code into more appropriate locations.