would it be cleaner to make manage_db a parent module with just case statement that calls on other modules based on db_type?  break mysql out to be its own module, postgres, H2, etc..  I think that might make it a little cleaner than have all the diff db codes in this one.