work on friends template and gracefully degrade extension if server is down
rename classes.js file