add profile class and profile creation