Added Timeline molecule and cleaned the code