implemented placeholder time-gap algorithm
Implemented basic algorithms in preparation for base functionality