Folder refactoring and build script for tilevisor.