Made the first steps to adding support for multiple sound formats by moving the soundfile initialisation to static methods.