Changed Controller.java to read database IP from file