move variable definitions to autoload file