fixed Entity annotations, added basic implementation of services, removed bad autowiring