Added Account api and failure reports api

For details, see change logs
fixed #3