added gradle javadoc generation task
removed unused resources and updated gradle config
slightly refactored `routeUrl` and add toString
rewrote AppRoutes as a java library and added basic tests