cleanup and refactor + rename solapp.be to solapp.globalDefines