Apart form the many examples on the internet and elsewhere (for example in WordPress for Web Developers) here are some notes:
– When custom posts don’t show up after creating them, it may help to set the permalinks to default and back again to your preffered setting.
– To change where the custom post type appears in the admin sidebar, set menu-position to one of the following: