updated setup to newer style entry points and pep8ified
pep8ified and cleaned up useless code
added optional error to tissue