Create an asd file

 Resources in relation to the asdf system location as well.
Adapt build script
Moved search path initialization to runtime