This is the tutorial to create custom-post in wordpress. We have given example of creating "Setting" page also for plugin. We have added post single-custom_post.php template , archive and taxonomy template. Upload php file from "upload-them-in-theme-folder" to theme folder as they contain templates.
Use it modify it, do what you want.