Rudimentary support for custom categories. TODO: Transfer databse from postgres to mysql cus apparently postgres isnt free :(