refactor to use OOP
create player class and engine-flame class