Added marker detection cocde
WIP