init and implement codes builder class