Reorganize to standard layout and add gradle+travis testing