added nice frontend to library functions
moved all gem related to subdirectory