Added initial controller in java
Added initial controller2 in java