Added categories and filtering arch in core
WIP Added categoriser with some required functions

Work in progress, so far, it doesn't compile