Partially done: DB for WP

Now first we check for the user settings to download something or just
get info from the DB.
My laptop's battery will die (still at the hospital) so i'll finish this
part by tonight