move common reactor files to libreactor
move remaining files from root directory