Feature/badges crud

# Features of this pull request

 * CRUD for badge resouce
* Testing
js files go to the bottom