added sqlite3.o to Makefile; refactored .xyz; added getCatline