Adds Guava, and makes the code more functional-style where appropriate.  Incorporates various optimizations recommended by PMD, and applies IntelliJ formatting throughout.  Changes the PostgreSQL credentials to reflect a more realistic Linux environment.