using -net-lib

Before apply this pull request you can make branch for saving extern files style.