Version 0.3

Sorted the run / debug problem.
General code tidy up.
First Unit Test!