scans for files, gets average rgb of each, next store into db