Added template code, and added chart features

Added chart features to makeProfile