Finished the primary process structure. Further improvements will be made