code clean up, added functionality of deamon application,
to read data and pump stockdata to database