unimportant stuff
deleted several unused methods from deviceactivity. Moved several methods from deviceactivity to plotactivity