Adding clean task to build
Fix bug with /api end point not returning any values