moving credentials and server addresses to globals -> environmental variables