Moved process documentation to new directory. Refactored existing code.