Modern structure

Update project source tree to recommended structure. Add gradle and Travis CI.