first attempt at infogain approach; incomplete
general update
tidying up
tidying up