Added som javadoc and restructured controller
#11 simplified ui and remove unnecessary scripts
#14 #15 Now launching app from json data in payload