Add internal DB, enhance Setting, Main