Refactor Processor and Bootstrap