Added missing copyright notice. General cleanup.
Moved to Maven instead of Gradle. Using proper project structure and package structure.