corrected commenting errors
added support to store Texts' subitems in db