Created basic pivoting library.