Begun restructing firmware.
Added uart to simulator.
Configure xpsr properly.
Declare commin files.