Refactor CEScriptManager class
Use "instancetype" return type for initializers