Create ResourceLoader.php

// We use PHP Version 5.1 no namespaces :(
// API version "v1" => Dashboard usage only (PHP session variables)
// API version "public" => Partners usage (Auth Tokens in every request)