Add model for wallpostphoto.

Also add a bunch of other cleanups.