todos
updated regex to only included the actual server-name. Inserted TODO to implement regex for fetching the server environment
The "server" attribute is now split up in environment and servername.