Add status codes closes #3