Local database added

View pending jobs functionality working