Added ship object and some helper methods