Fixed depdency loading
Fixed how cores are handled in example
Changed tabs to spaces