init class main