added resources
added custom post type
finished script
small changes