Setup classes and most methods