How to define a customized frame with the title (of the frame) and the contents separated.

My intention is to use some function like the block environment in beamer.