Broke up all the raw html into manageable fragments and refactored basically everything.