added command ref to examples + fixed some things, fixes #9