Removed a chunk of out-commented old codes that is no longer relevant right now.