Added animation, loader function, check for stating frame, setTimeot and some other things