Begin refactor of assembly types gen logic
Move assembly initialization into define func