change path to autoload bg class
refactoring