Fixed all the warnings SCOTT. also restructured top folders

fixed comiler errors and warnings
removed duplicated and unused folders from project