Reorganize code.
Fixed no daily deal bug.