Activities can now be deleted
Activities in the database can be upload
Rewrite LogManager and DatabaseManager for simplicity