Added base files

Added base Entity files
Added category repository
Added category repository tests