Fixed issue #38, db folder is NOT under app folder