add basic symmetrizing functions and unignore lib folder