Totally refactored error handling. Implemented reusable Get System
Status endpoint.