Initializing class