Runtime first

Decided to rewrite the program from scratch.