Started adding doxygen. Started adding external buffer constructor.