Clean up example
Added sync class