Fixing project setup

There are a few different things I did here.

1.)  Clean up the pom.xml file.

You had some unused, duplicated and out-of-date dependencies in here. 

There's no need to pull in jetty-servlets since you're not using that anywhere. 

The Google Guava dependency is declared twice - once for version 10.0.1 and once for version 12.0. I removed the 10.0.1 one. 

I'm not sure why joda-time version 1.5.2 was used, but it was released > 6 years ago so I switched to the most recent version (2.3) This shouldn't affect anything in your code since you're not using joda-time in too many places. Still, it's good to consider using a newer version of a library when you can so you can take advantage of any new features or API improvements.

2.) Remove all IntelliJ related files from the project and add them to .gitignore

We typically don't commit any IDE specific files like the .idea directory and .iml files created by IntelliJ. I've removed them and added .idea/ and *.iml to .gitignore to prevent them from getting committed again.