fix namespace error
add doctrine config and script examples