added railties
updated
update
updated tests
removed unused test directory
updated gateway tests
Updated api
further revising api