Added a function to get system status. Closes #3