minor refactor to makefile - moving inline sql templates to file
sql templates removed from makefile and put in own sql files