added dashboard server api, server run end status, currently running artifacts server api and did some refactoring