changed: class syntax to work correct with autoloader