add makefile and adapted latex files to work with it