Huge revamp, changed every piece of code.
Created FriendlyUnit class along with a new map class.