start mozilla port: shuffle files, first hooks