rename main script, move states to commons, flake8