initial checkin
minor refactoring, added figure on front page