Database functionality added

added ivardbconnections and started to implement the register function