interface updated; database swithcer added