refactored builds for maven
readme updated