separated lib and app dirs
restructured to have nodejs server