move libpyrap in subfolder
trying to get tests working with unittest
backwards compatibility
small changes