Rename brick type to stack

The type represents more than just one Brick.
Unify filename style
Remove array_find, it's too hard to be used correct