Code for milestone 3 and 4 with updated README, LICENCE and POM files