seprated fb read data function and improved code
git ignore file added