added separate templates for admin, creating settings model and handling