installs and configures thin