arranging library source to gem standards, fixing all requires and tests
fixing repl and require paths