changed directory structure, added named pipe
modify specs for RSpec
added files for gem