initial load of source

Source currently builds on mac, pc and ubuntu. getting segfaults on Mac
and PC