Complete Modification

OMG the code is completely changed and its more efficient now, enjoy
lesser memory usage and faster performance, including several new
features. :)