Working on changing HorizontalPanel to FlowLayout

- Replaced HorizontalPanel with Flowlayout
- Cleanup other files
- Added Instance