Added compilation index action to the backend and fixed create action which wasn't returning the proper model
Added needed stuff to start working with Compilations on the client side