added version macros. added version data to db info table