New DB Version control system

This patch implements new version control system with dbv php system.