Added segment queue and started on packager implementation.