Fixed issue with duplicate use statements and added return after namespace decleration