Renamed api/ to domain/, brought API routing into main