migrate database and move application haml file.