add staticloader

An alternative to dynloader, for systems without bash.