Move autoload functions to the right location
Fix for StartServer method