Begin coding main sensor base prototype code