Add some basic tests and script to run them.
Small cleanups
Works, try:
make;
./main