added Makefile for unix
added virtual destructors to base objects, updated examples