changed init code for altaform - apps can now inherit main altaform class