Initiated class with needed variables