project: refactor into modules
Makefile: test all our local packages as well
entry: move endpoints test to their own file