converted to Maven project and sorted out dependencies