Renamed enemy and friend functions.
Added api functions for side relations.