Introduce tests (real beginning)
Move data types into own package