Code impl. update 1

Basic activity;
Time interval;
Basic time prior activity manager.