Edit untrack files and edit some code

untrack .class files and edit flag related code
Deleted useless files

Deleted Stage1Process.java and Stage1Process2.java
changed configuration files