got things in first draft version. testing standalone program on ignatius.
fixed up cmakelists again