ensure application does not load a dsl twice

a dsl should never be loaded twice. this will prevent global functions from being defined multiple times by the same application running twice.