added plugin h and m files. @TODO add callback for getting position