Add and change some boring stuff

Format to IntelliJ 4, mavenise, update gitignore, add enable/disable logging.