updated BaseApiController. removed unnessecary packages from API