remove execute permission
remove createFromGlobals method
make methods private, as only used by controller
fix entity mappings