Added more logging for controller APIs and Enabled maven to compile in
java 1.7.