changed the process and gui modules; added documentation