Core classes and pixel access macros from opticl
