move GP and scatterplot to libs
cTime and trap