Improve BApplicationServer

Change BApplicationServer constructor and methods.