Added shader uniform manager.

Also changed testing structure around slightly.