Moved some components out of the main file.
Added delete animations.