Partition Theory