Finishing the peripheralSG API

Added an external API for creating nice menu. I will try to implement it
when i start coding. If someone has (or is able to make) a better one
please push a commit.