Change local variable and refactor front page

We are facing a problem where the object is being added more than once
and create duplcation in the data. This should solve it because it will reset
everytime we run this API.

Also change the front page to match what we have on the other API
Add second level for releases.