added Gemfile and testhelper. renamed files with tests
clean up code for stack