mv rb files to lib
move main code to lib & more test stuff