add resource examples, spec cleanup and fix
enable submodule
add more examples
run lint in default task, add testonly task for tests without lint.
adding example for define