adding greensock, refactored preprocess, calculate, apikeys