Fixed return statement, and added creature api
Fixed indentation