Convert to Maven project and configure properly.