Added flag.java
added Getoptsparser skeleton
Added some comments
tidied up pom.xml