Supported Orient.shutdown() and Orient.startup(), removed also some static stuff in Orient class