remove "theme97" from package name
remove unused imports
use an `enum` instead of multiple `int`s for states