Pythonic reimplementation of Minimega