Building to a jar works!

Also let IDEA optimize imports