Added dependencies on rest server and entity api
Added dependencies on rest server and entity api