First, welcome to AC!
When you say "establish" the tank, did you mean cycle it? Here's a link to the page on cycling:
http://www.aquariacentral.com/forums/showthread.php?t=84598
Cycling usually takes longer than 2 weeks. It often takes a month to 6 weeks. If your tank isn't cycled, the fish could be suffering from ammonia or nitrite poisoning.
And, just fyi, schooling fish--usually--won't school with members of other species. Plus they can get nervous and/or aggressive when kept in groups that are too small. So it could be that either the tetra or one of the danios nipped your molly.
But when fish hang out in corners like you're describing, it's often a water quality issue (ammonia or nitrite).
Anyway, you've come to the right place! People here can help. There's a barrage of usual questions that get asked--here's a few:
Do you have a liquid test kit so that you can test, at least, ammonia, nitrite, and nitrate?
What are your readings from the tests?
How often do you do water changes?
Is your tank sufficiently filtered? Heated?
Are you adding a dechlorinator to the water?
Plus, here's a few things to think about with your stock, for the future. The priority now is keeping your current fish healthy and alive, but down the road, consider:
mollies--some people say they may need brackish water to be healthy. I'm not the expert, so maybe someone else can chime in.
the black tetra--needs to be in a group of 6 or more of its own kind.
the 2 danios--some danios get large, others stay small, but all need to be in a group of 6 or more of their own kind.
the algae eater--this could be a plecostomus (pleco), otocinclus (oto), or any number of things. If it is a common pleco, it will get huge (I mean like up to 2 feet long), and unfortunately they're very commonly sold to new fishkeepers as algae eaters that are somehow "necessary" for any tank. But they're not necessary. Post a pic and someone here can identify him.
If the tank's not cycled, you could take all the fish back to the pet store who sold them to you (and maybe gave you bad info), and then cycle your tank without fish (as described in the article), and then research a new set of fish to buy after the tank is ready.
Or, if you can't take them back, you can cycle the tank with the fish, but it will be a lot of work. Anyway, maybe I'm getting ahead of myself

. If possible, let us know about the readings from the ammonia, nitrite, and nitrate tests first.