Fully support plate manifest generation.

Extracted resource creation from tube generator.
Added plate generator.
Made template registration a bit cleaner.