Add Main Class and some basic methods