Added core functionality to airplane class