getFields can now work statically with name of entity class
add method 'fields' to retrieve entity fields, implement wrapEntity to do last minute transformations