Refactor tile source in separate objects
Move overlay layer creation into tile sources
Move handling of a stack's image base into tile source