refactor: split stack views into separate files