Refactored inputs and fields
Added hr before style viewer
Refactored group