basic infrasture code initilization