Renamed module-private functions with _ prefix
Restructured application module
Added activity_store module, activity objects and sqlite3 database usage