Base Code from the simple robot template