Closed #4 (if I understood it)

Updated IDEA projects and fixed some minor stuff (JavaDoc etc)