remove os.path import and add defaults decorator to build_and_start
added copyright notice to grep example
added docstrs and comments to the code.