removed namespace std from headers, and fixed a few of the many errors.