initial commit. working REST API for Media/medium