Refactor, browser sync, loading