Moved code to seperate modules added tests, parent pom and travis config