generalized code to work for all time periods and set to run in parallel

Cleaned out the inputs directory and attempted to generalize code as
much as possible.