Rework setup

Setup should generate all the needed files and directory structure. This commit
attempts to remedy that. Note that it may be useful to use prj to do this
later as this is the task it was intended to do.