Create library folder

For the Ruby gem conventions I have moved the current code into the lib
folder.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>