implement directive generator with tests and readme instructions
fix tests to work after changing the generator name to tom
fix file locations in readme
update travis configuration