give up on cross compilation and commit main with example threads and message passing