Moving towards scalability

Step one: extraction of categories into a singular class file, to allow
for more to be added in future. Also, minor edit to sql handler due to
unnecessary method.
Revert "Moving towards scalability"

This reverts commit 0bb9f30693a5e7d4044975ce52c0fa9ddfae2d71.