Refactor/layers order

In some cases layer's were being ordered wrongly. Specially when loading many layers.
That happened because some layers take time to load. Now layers are added one by one, so it waits until a layer is rendered to render the next one.