Spring preloader support
Merge pull request #41 from pgaertig/spring_support

Spring support (fixes #40)