moved inintilization of sensors to another file.