To add usage and a generic function to database manager