Initial code framework