Updated gems
Removed unneeded folder
Improved references controller