split files and add specific error types

split files and add specific error types