Update travis.ci config, rearrange code
Update .gitignore file
Remove .idea folder