Removing encorephp/framework dependency