xcms startup code and source file

continue working on most recent date