removed libraries fix test and amd, added rconfig
removed useless file