new class Timeline and Layer and lot of little changes