Migrated build system to Maven. Please be aware that there are parts that may be broken.