remove doctrine dependencies + startup nativeclient repos
add serialization to array and handling mongo connection