#31 API: implemented new service methods, media mocked tests converted to database integration tests