Move seed and some comments

Move the seed up at the start of main and add some TODOs, comments.