Api building

'timeline' is id of container to put our timeline so it should be parameterized somehow. tell me if I am wrong :)