Restructure project and add test file
Add travis for the project