Adding core functionality and travis yml