class Database moved to components folder. Return value