Db dev

Added lots of stuff for RDB module