deleting extraneous files and renaming main dir to lib