Seperated generator functions from functions returning them
Added a travisCI build status to sphinx docs