Activated autoload of database library

This will make it easier for me to use the database library without
having to load the database each time.