Added macro definitions and base Exception class. Initial working Makefile.