[feature/revisions] Place component routes and services into separate files

PHPBB3-10755