network database interface

implemented a background service to handle database requests.
list and details done
edit is unfinished due to schedule database complication