added basic lvl system, get res to spend, get xp back