Added environment variable based database URL.
Added UriParser class to simplify tests