record names of used packages
add packages from \documentclass and \usepackage commands
put all package variables into a single object
enable package dependencies and split default beamer theme
fix \documentclass and \usepackage
fix epyt theme and \usetheme command
\usecolortheme, \usefonttheme, \useinnertheme and \useoutertheme