Add pom.xml and controller source code