Added mac tutorial and rewrite linux a bit