We have tons of guides in the Modding Guides sticky, best place to start. Or start with my modding ebook http://community.playstarbound.com/resources/unofficial-modding-ebook.2930/