Check this page for Articles
. I would check out the fishless cycle and the nitrogen cycle. I cycled my tanks using fresh, raw, unseasoned shrimp, from my grocery store. I would also invest in a test kit, so you can see how your cycle is coming along. If you are just starting your cycle, those live shrimp might not make it, as they are sensitive to poor water conditions. I think, if you are seeing diatoms, you are, possibly, near the end of your cycle.
How long have you been cycling?