Income module (work in progress)

There’s still a few bugs to squash to make it work but the files are
all here.