changes so when packed jars know where main methods are

poms changed to create manifest automaticaally ,main moved from test
classes to controller.java