Adding makefile and the start of reading tables in