engine test added
refactored singleton
fixed  tests to match singleton
added engine test
added rails support
updated tree for merge