working code from last night plus comments and zip of stuff for online
added stuff
deleted files