Remove unneeded def.
Add Main module and Makefile.
Add executable to gitignore.
Add test file.