MainController modified, properties.config, TODO: solve static error MainController::animationIndex