reorganize libs, add basic google analytics