Test authentication keys
Move merge to a separate lib

Also add a deep clone method
Reindent sql
Move config outside object
Remove old sql merge error
Skeleton code for key twitter methods