Added net code and set genesis block