rewrote storage of cpu structs
rewrote storage of cpu structs
started cpu code cleanup
cleaned up CPU init code
code cleanup and added kernel_state_flags