removed System.out's, added support for Postgres' JSON data type, added some functional interfaces to better support Java 8, added more tests