Vertical device architecture by molding of organic-based thin film transistor