Featured working:
-Added a method that checks if the category can be used to add elements

Unrelated: Added repositories to pom.xml