WIP. Tidying up class names dependencies with indexing, Wave id mgmt. Started JS wrapper for communities.