implemented route handling
added viewpager