Fixed pom version. Pushed slightly modified code. Code is working now