fixed compiling to wrong binary
Need cosmetic fixes, code functional