Tools to autogenerate common php snippets/classes