Made CredentialsInfo future proof by making it serializable.
Changed CPEntityManager to longer use a byte buffer
Adding in new Map writer function **INCOMPLETE**