enode framework code refactory.
refactory code again
refactory code.