First commit, Patent_Job. TODO: improve tests and refactor