Added loading of database library to the example controller

Resolves issue #260