added database-backed model; changed progess bar to swag level