Old codebase for tim to learn from. It's extremely shit!