Remove unused imports and vars
Move item details view to separate module
Makefile cleanup

Make more use of '$@' and clean up extension builds in
'make clean'