Crated injectable entity manager
Added all CRUD operations
Used entity manager properly