Refactoring the library and some documentation
RFDa library and tests