CRUD for process and Stage. TODO: fix naming convention and truncate database