add collision detection; improve sprite structures