This is a great starting point for anyone making an extension for Client Dash.