Merge pull request #1 from tobiasandersson/master

add forward offsets
add const qualifiers where necessary
types for color and object recognition
fix offsets