Test re-org.

- Re-organized the test code
- Started working a base framwork for flamebox environment
- Started adoption of JSON for configurations