Initial changes for plugin for db access and language files

not complete code, but starting suggestions only