overhaul of project structure, added maven and scala test