fixed various errors caused by namespace usage. ie. Root namespace wasnt declared for Standard-Classes like DOMDocument or Exception