SAPPHIRE_DIR -> FRAMEWORK_DIR
3.1 $allowed_actions
getters and setters for enabling subclassing
added getFrontendFields
made private function public for subclassing