Added doc-strings and separated animation