added ConnectionListener.java
initializing StateManager in Controller