Add main, mpools, defs and the Makefile.
Add obj directory.