Setup Main class