Implemented faster means of checking server status
Added enum for server status.