update to start using tornado settings file. update views to templates