Adding python interface, improved makefile