initialize codes for beta branch

source codes of beta branch.