Write git apps away from portal.class.php