added directive and route generators

added directive and route generators, and cleaned up the lib folder for
travis (a lot had to deal with file naming, and making sure my commands
aren't OS specific).