Welcome page and DB API refactoring