added check target
moved instatiation of generator down to the api
fixed error dump on unknown function name
added source-able script to setup Python paths