Implemented all garbage collection methods and the method for storing hashtags on the database controller.