added output subclass to gpio. changed tornado file to work with it