Added mainclass as default startup class in buildscript.