Adding basic program structure