Feature/custom transitions

Did some refactoring around transitions. I know its not perfect, but hopefully you’ll be inspired.