Add duplicate deploy keys feature
Added optimizations
Temp save
Refactored
Add key management to admin section
tweaked to work with postgresql