Refactor.
Add deploy script.
Remove unusing scripts from layout.