Code converted to Maven