add some documentation on methods
add Engine support for Rails integration