Additional work on routes API and preliminary views setup