refactor: split modules
refactor: add comment to frame subpackage
refactor: create aparture class and module