Added initialization methods in Main