implemented player class, added background class