Convert to maven, make portable, update depenandcies