Rewrote classes

I rewrote the classes so they work better. XP now uses borderlands 2
algorithm.