Compilation fixes and implementation of Atlas sensor, partial implementation of ES2.
Renamed AtlasSensor and implemented rest of ES2.