refactored chart publication code into Chart model
redirecting old chart urls to most recent version