Feature/rails3 add core dependency to engine