Using engine controller in spacecraft base was added. Also spacecraft index page javascript was refactored