Added phpdocumentor docs that are somewhat incomplete so read at your own risk