added Categories-API

Added categoriesModule and one method in it - getAllCategories()