The system now works with database. The database source is independent
of the implementation. Make suer USE_DATABASE is true.