Writing code for multiple avatar management. Needs to add preview code into classes