Added more elaborate database code working...
Fixed the mememaking portion of the code