new version and features add

More features added for new database model specification.