Added README, LICENCE, travis ci integration, slight architecture refactoring