Added main functionality - ability to run programs from PATH + w.d.

Now just need some more comments and we're done.