Fixed the various errors, trying to deploy to appHarbor