created new realtime database data structure
working on javascript scope