Fixed the singleton in the constructor
Added the findAll method for categories