Remove unused code and implement md endpoint
Update description