Java Spark Framework Example both RESTful API and web app