Changed java.servlet dependency in pom.xml.

Small fixes in Transaction model and Bar controller.