Implemented tab-ui behavior, basic css updates and moved treatment factory to treatment.js

Reviewer: Daniel V.