Implementation completed.

Need some stats infomation so this is actually useful.