Catch up yesod-platform-1.2

migrate Foundation and arount it