Moved dialects to DB

See #14