private static function getInstance($key, $args)
	{
		//get the name of the method
		$key = 'get' . ucfirst($key);

		//get an instance of this resource
		$instance = self::{"{$key}"}($args);

		//return this object instance
		return $instance;

	}