building coding class structure