Init project
prepared some functions for ICode
convert to ICode