There is a circular dependency in Player and Engine. I added @class instead of import as described in Stack Overflow to fix it (for now). Not sure if we will even need Engine in Player.