Adding Constants for fetching fields from Client.
Added entitmanager calls in API Controller...