Added timeline activity and implemented DB storage