added overloaded operator, started namespace for main function calls