adding some multipurpose toolkit and html classes/functions