implement opening URIs

this commit destroys compatibility of DB