Adding basic code structure, ready for raspberry