updated makefile to use c++11
added some more print utils
added model class