deleted old code
renamed a function
moved database version check to VocbaseManager