primitives: restructured C files hierarchically
tests: rearranging to fit with the hierarchical structure of c code
added a travis-install target