initial commit for refactor
Got post working from new erb.