diff --git a/Cargo.lock b/Cargo.lock
index 708111c156867e56e77de544125a0dfe9cef995f..c054af2bb92e14aa37aee57c055a1d6f4dc8b037 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -396,7 +396,7 @@ dependencies = [
 
 [[package]]
 name = "durs"
-version = "0.1.0-a0.1"
+version = "0.1.0-a1"
 dependencies = [
  "duniter-core 0.1.0-a0.1",
  "duniter-tui 0.1.0-a0.1",
diff --git a/Cargo.toml b/Cargo.toml
index 64347951aa7f46121b296e89d4542d298f6d171d..266bad8e9e208f79e9bf119463ca41afe5fb23c3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,42 +1,20 @@
-[package]
-name = "durs"
-version = "0.1.0-a0.1"
-authors = ["librelois <elois@duniter.org>","nanocryk <nanocryk@duniter.org>"]
-description = "DUniter-RS (durs) is a new implementation of Duniter protocol and software in Rust, a safe, concurrent, practical language"
-license = "AGPL-3.0"
-
-[dependencies]
-duniter-core = { path = "./core" }
-# durs-skeleton-module = { path = "./skeleton-module" }
-durs-ws2p = { path = "./ws2p" }
-durs-ws2p-v1-legacy = { path = "./ws2p-v1-legacy" }
-structopt= "0.2.*"
-
-[target.'cfg(unix)'.dependencies]
-duniter-tui = { path = "./tui" }
-
-[features]
-default = ["ssl"]
-ssl = ["durs-ws2p-v1-legacy/ssl"]
-# Treat warnings as a build error.
-strict = []
-
 [workspace]
 members = [
-    "blockchain",
-    "conf",
-    "core",
-    "crypto",
-    "dal",
-    "documents",
-    "message",
-    "module",
-    "network",
-    "network-documents",
-    # "skeleton-module",
-    "tui",
-    "wot",
-    "ws2p",
-    "ws2p-messages",
-    "ws2p-v1-legacy"
+    "bin/durs-server",
+    "lib/blockchain",
+    "lib/conf",
+    "lib/core",
+    "lib/crypto",
+    "lib/dal",
+    "lib/documents",
+    "lib/message",
+    "lib/module",
+    "lib/network",
+    "lib/network-documents",
+    # "lib/skeleton-module",
+    "lib/tui",
+    "lib/wot",
+    "lib/ws2p",
+    "lib/ws2p-messages",
+    "lib/ws2p-v1-legacy"
 ]
diff --git a/LICENSE.txt b/LICENSE
similarity index 100%
rename from LICENSE.txt
rename to LICENSE
diff --git a/bin/durs-server/Cargo.toml b/bin/durs-server/Cargo.toml
new file mode 100644
index 0000000000000000000000000000000000000000..91c22347bdd1b78731194817395cdf3fec18dd31
--- /dev/null
+++ b/bin/durs-server/Cargo.toml
@@ -0,0 +1,23 @@
+[package]
+name = "durs"
+version = "0.1.0-a1"
+authors = ["librelois <elois@duniter.org>","nanocryk <nanocryk@duniter.org>","inso <inso@tuta.io>"]
+description = "DURS (Dividende Universel RuSt) is a new implementation of Duniter protocol and software in Rust, a safe, concurrent, practical language"
+license = "AGPL-3.0"
+
+[dependencies]
+duniter-core = { path = "../../lib/core" }
+# durs-skeleton-module = { path = "../../lib/skeleton-module" }
+durs-ws2p = { path = "../../lib/ws2p" }
+durs-ws2p-v1-legacy = { path = "../../lib/ws2p-v1-legacy" }
+structopt= "0.2.*"
+
+[target.'cfg(unix)'.dependencies]
+duniter-tui = { path = "../../lib/tui" }
+
+[features]
+default = ["ssl"]
+ssl = ["durs-ws2p-v1-legacy/ssl"]
+# Treat warnings as a build error.
+strict = []
+
diff --git a/src/main.rs b/bin/durs-server/src/main.rs
similarity index 100%
rename from src/main.rs
rename to bin/durs-server/src/main.rs
diff --git a/dal/test.db b/dal/test.db
deleted file mode 100644
index ab254abc64c4f280bdde96b863cdc6420fddff67..0000000000000000000000000000000000000000
Binary files a/dal/test.db and /dev/null differ
diff --git a/blockchain/Cargo.toml b/lib/blockchain/Cargo.toml
similarity index 100%
rename from blockchain/Cargo.toml
rename to lib/blockchain/Cargo.toml
diff --git a/blockchain/apply_valid_block.rs b/lib/blockchain/apply_valid_block.rs
similarity index 100%
rename from blockchain/apply_valid_block.rs
rename to lib/blockchain/apply_valid_block.rs
diff --git a/blockchain/check_and_apply_block.rs b/lib/blockchain/check_and_apply_block.rs
similarity index 100%
rename from blockchain/check_and_apply_block.rs
rename to lib/blockchain/check_and_apply_block.rs
diff --git a/blockchain/clippy.toml b/lib/blockchain/clippy.toml
similarity index 100%
rename from blockchain/clippy.toml
rename to lib/blockchain/clippy.toml
diff --git a/blockchain/dbex.rs b/lib/blockchain/dbex.rs
similarity index 100%
rename from blockchain/dbex.rs
rename to lib/blockchain/dbex.rs
diff --git a/blockchain/lib.rs b/lib/blockchain/lib.rs
similarity index 100%
rename from blockchain/lib.rs
rename to lib/blockchain/lib.rs
diff --git a/blockchain/revert_block.rs b/lib/blockchain/revert_block.rs
similarity index 100%
rename from blockchain/revert_block.rs
rename to lib/blockchain/revert_block.rs
diff --git a/blockchain/sync.rs b/lib/blockchain/sync.rs
similarity index 100%
rename from blockchain/sync.rs
rename to lib/blockchain/sync.rs
diff --git a/blockchain/ts_parsers.rs b/lib/blockchain/ts_parsers.rs
similarity index 100%
rename from blockchain/ts_parsers.rs
rename to lib/blockchain/ts_parsers.rs
diff --git a/conf/Cargo.toml b/lib/conf/Cargo.toml
similarity index 100%
rename from conf/Cargo.toml
rename to lib/conf/Cargo.toml
diff --git a/conf/keys.rs b/lib/conf/keys.rs
similarity index 100%
rename from conf/keys.rs
rename to lib/conf/keys.rs
diff --git a/conf/lib.rs b/lib/conf/lib.rs
similarity index 100%
rename from conf/lib.rs
rename to lib/conf/lib.rs
diff --git a/conf/test/conf.json b/lib/conf/test/conf.json
similarity index 100%
rename from conf/test/conf.json
rename to lib/conf/test/conf.json
diff --git a/conf/test/keypairs.json b/lib/conf/test/keypairs.json
similarity index 100%
rename from conf/test/keypairs.json
rename to lib/conf/test/keypairs.json
diff --git a/core/Cargo.toml b/lib/core/Cargo.toml
similarity index 100%
rename from core/Cargo.toml
rename to lib/core/Cargo.toml
diff --git a/core/change_conf.rs b/lib/core/change_conf.rs
similarity index 100%
rename from core/change_conf.rs
rename to lib/core/change_conf.rs
diff --git a/core/cli/dbex.rs b/lib/core/cli/dbex.rs
similarity index 100%
rename from core/cli/dbex.rs
rename to lib/core/cli/dbex.rs
diff --git a/core/cli/en.yml b/lib/core/cli/en.yml
similarity index 100%
rename from core/cli/en.yml
rename to lib/core/cli/en.yml
diff --git a/core/cli/keys.rs b/lib/core/cli/keys.rs
similarity index 100%
rename from core/cli/keys.rs
rename to lib/core/cli/keys.rs
diff --git a/core/cli/mod.rs b/lib/core/cli/mod.rs
similarity index 100%
rename from core/cli/mod.rs
rename to lib/core/cli/mod.rs
diff --git a/core/cli/modules.rs b/lib/core/cli/modules.rs
similarity index 100%
rename from core/cli/modules.rs
rename to lib/core/cli/modules.rs
diff --git a/core/cli/reset.rs b/lib/core/cli/reset.rs
similarity index 100%
rename from core/cli/reset.rs
rename to lib/core/cli/reset.rs
diff --git a/core/cli/start.rs b/lib/core/cli/start.rs
similarity index 100%
rename from core/cli/start.rs
rename to lib/core/cli/start.rs
diff --git a/core/cli/sync.rs b/lib/core/cli/sync.rs
similarity index 100%
rename from core/cli/sync.rs
rename to lib/core/cli/sync.rs
diff --git a/core/lib.rs b/lib/core/lib.rs
similarity index 100%
rename from core/lib.rs
rename to lib/core/lib.rs
diff --git a/core/router.rs b/lib/core/router.rs
similarity index 100%
rename from core/router.rs
rename to lib/core/router.rs
diff --git a/crypto/Cargo.toml b/lib/crypto/Cargo.toml
similarity index 100%
rename from crypto/Cargo.toml
rename to lib/crypto/Cargo.toml
diff --git a/crypto/README.md b/lib/crypto/README.md
similarity index 100%
rename from crypto/README.md
rename to lib/crypto/README.md
diff --git a/crypto/src/hashs/mod.rs b/lib/crypto/src/hashs/mod.rs
similarity index 100%
rename from crypto/src/hashs/mod.rs
rename to lib/crypto/src/hashs/mod.rs
diff --git a/crypto/src/keys/bin_signable.rs b/lib/crypto/src/keys/bin_signable.rs
similarity index 100%
rename from crypto/src/keys/bin_signable.rs
rename to lib/crypto/src/keys/bin_signable.rs
diff --git a/crypto/src/keys/ed25519.rs b/lib/crypto/src/keys/ed25519.rs
similarity index 100%
rename from crypto/src/keys/ed25519.rs
rename to lib/crypto/src/keys/ed25519.rs
diff --git a/crypto/src/keys/mod.rs b/lib/crypto/src/keys/mod.rs
similarity index 100%
rename from crypto/src/keys/mod.rs
rename to lib/crypto/src/keys/mod.rs
diff --git a/crypto/src/keys/text_signable.rs b/lib/crypto/src/keys/text_signable.rs
similarity index 100%
rename from crypto/src/keys/text_signable.rs
rename to lib/crypto/src/keys/text_signable.rs
diff --git a/crypto/src/lib.rs b/lib/crypto/src/lib.rs
similarity index 100%
rename from crypto/src/lib.rs
rename to lib/crypto/src/lib.rs
diff --git a/dal/Cargo.toml b/lib/dal/Cargo.toml
similarity index 100%
rename from dal/Cargo.toml
rename to lib/dal/Cargo.toml
diff --git a/dal/balance.rs b/lib/dal/balance.rs
similarity index 100%
rename from dal/balance.rs
rename to lib/dal/balance.rs
diff --git a/dal/block.rs b/lib/dal/block.rs
similarity index 100%
rename from dal/block.rs
rename to lib/dal/block.rs
diff --git a/dal/certs.rs b/lib/dal/certs.rs
similarity index 100%
rename from dal/certs.rs
rename to lib/dal/certs.rs
diff --git a/dal/clippy.toml b/lib/dal/clippy.toml
similarity index 100%
rename from dal/clippy.toml
rename to lib/dal/clippy.toml
diff --git a/dal/constants.rs b/lib/dal/constants.rs
similarity index 100%
rename from dal/constants.rs
rename to lib/dal/constants.rs
diff --git a/dal/currency_params.rs b/lib/dal/currency_params.rs
similarity index 100%
rename from dal/currency_params.rs
rename to lib/dal/currency_params.rs
diff --git a/dal/dal_event.rs b/lib/dal/dal_event.rs
similarity index 100%
rename from dal/dal_event.rs
rename to lib/dal/dal_event.rs
diff --git a/dal/dal_requests.rs b/lib/dal/dal_requests.rs
similarity index 100%
rename from dal/dal_requests.rs
rename to lib/dal/dal_requests.rs
diff --git a/dal/identity.rs b/lib/dal/identity.rs
similarity index 100%
rename from dal/identity.rs
rename to lib/dal/identity.rs
diff --git a/dal/lib.rs b/lib/dal/lib.rs
similarity index 100%
rename from dal/lib.rs
rename to lib/dal/lib.rs
diff --git a/dal/parsers/certifications.rs b/lib/dal/parsers/certifications.rs
similarity index 100%
rename from dal/parsers/certifications.rs
rename to lib/dal/parsers/certifications.rs
diff --git a/dal/parsers/mod.rs b/lib/dal/parsers/mod.rs
similarity index 100%
rename from dal/parsers/mod.rs
rename to lib/dal/parsers/mod.rs
diff --git a/dal/parsers/revoked.rs b/lib/dal/parsers/revoked.rs
similarity index 100%
rename from dal/parsers/revoked.rs
rename to lib/dal/parsers/revoked.rs
diff --git a/dal/sources.rs b/lib/dal/sources.rs
similarity index 100%
rename from dal/sources.rs
rename to lib/dal/sources.rs
diff --git a/dal/tools.rs b/lib/dal/tools.rs
similarity index 100%
rename from dal/tools.rs
rename to lib/dal/tools.rs
diff --git a/dal/writers/block.rs b/lib/dal/writers/block.rs
similarity index 100%
rename from dal/writers/block.rs
rename to lib/dal/writers/block.rs
diff --git a/dal/writers/certification.rs b/lib/dal/writers/certification.rs
similarity index 100%
rename from dal/writers/certification.rs
rename to lib/dal/writers/certification.rs
diff --git a/dal/writers/dividend.rs b/lib/dal/writers/dividend.rs
similarity index 100%
rename from dal/writers/dividend.rs
rename to lib/dal/writers/dividend.rs
diff --git a/dal/writers/identity.rs b/lib/dal/writers/identity.rs
similarity index 100%
rename from dal/writers/identity.rs
rename to lib/dal/writers/identity.rs
diff --git a/dal/writers/mod.rs b/lib/dal/writers/mod.rs
similarity index 100%
rename from dal/writers/mod.rs
rename to lib/dal/writers/mod.rs
diff --git a/dal/writers/requests.rs b/lib/dal/writers/requests.rs
similarity index 100%
rename from dal/writers/requests.rs
rename to lib/dal/writers/requests.rs
diff --git a/dal/writers/transaction.rs b/lib/dal/writers/transaction.rs
similarity index 100%
rename from dal/writers/transaction.rs
rename to lib/dal/writers/transaction.rs
diff --git a/documents/Cargo.toml b/lib/documents/Cargo.toml
similarity index 100%
rename from documents/Cargo.toml
rename to lib/documents/Cargo.toml
diff --git a/documents/README.md b/lib/documents/README.md
similarity index 100%
rename from documents/README.md
rename to lib/documents/README.md
diff --git a/documents/src/blockstamp.rs b/lib/documents/src/blockstamp.rs
similarity index 100%
rename from documents/src/blockstamp.rs
rename to lib/documents/src/blockstamp.rs
diff --git a/documents/src/currencies_codes.rs b/lib/documents/src/currencies_codes.rs
similarity index 100%
rename from documents/src/currencies_codes.rs
rename to lib/documents/src/currencies_codes.rs
diff --git a/documents/src/documents_grammar.pest b/lib/documents/src/documents_grammar.pest
similarity index 100%
rename from documents/src/documents_grammar.pest
rename to lib/documents/src/documents_grammar.pest
diff --git a/documents/src/lib.rs b/lib/documents/src/lib.rs
similarity index 100%
rename from documents/src/lib.rs
rename to lib/documents/src/lib.rs
diff --git a/documents/src/v10/block.rs b/lib/documents/src/v10/block.rs
similarity index 100%
rename from documents/src/v10/block.rs
rename to lib/documents/src/v10/block.rs
diff --git a/documents/src/v10/certification.rs b/lib/documents/src/v10/certification.rs
similarity index 100%
rename from documents/src/v10/certification.rs
rename to lib/documents/src/v10/certification.rs
diff --git a/documents/src/v10/identity.rs b/lib/documents/src/v10/identity.rs
similarity index 100%
rename from documents/src/v10/identity.rs
rename to lib/documents/src/v10/identity.rs
diff --git a/documents/src/v10/membership.rs b/lib/documents/src/v10/membership.rs
similarity index 100%
rename from documents/src/v10/membership.rs
rename to lib/documents/src/v10/membership.rs
diff --git a/documents/src/v10/mod.rs b/lib/documents/src/v10/mod.rs
similarity index 100%
rename from documents/src/v10/mod.rs
rename to lib/documents/src/v10/mod.rs
diff --git a/documents/src/v10/revocation.rs b/lib/documents/src/v10/revocation.rs
similarity index 100%
rename from documents/src/v10/revocation.rs
rename to lib/documents/src/v10/revocation.rs
diff --git a/documents/src/v10/transaction.rs b/lib/documents/src/v10/transaction.rs
similarity index 100%
rename from documents/src/v10/transaction.rs
rename to lib/documents/src/v10/transaction.rs
diff --git a/message/Cargo.toml b/lib/message/Cargo.toml
similarity index 100%
rename from message/Cargo.toml
rename to lib/message/Cargo.toml
diff --git a/message/lib.rs b/lib/message/lib.rs
similarity index 100%
rename from message/lib.rs
rename to lib/message/lib.rs
diff --git a/module/Cargo.toml b/lib/module/Cargo.toml
similarity index 100%
rename from module/Cargo.toml
rename to lib/module/Cargo.toml
diff --git a/module/clippy.toml b/lib/module/clippy.toml
similarity index 100%
rename from module/clippy.toml
rename to lib/module/clippy.toml
diff --git a/module/lib.rs b/lib/module/lib.rs
similarity index 100%
rename from module/lib.rs
rename to lib/module/lib.rs
diff --git a/network-documents/Cargo.toml b/lib/network-documents/Cargo.toml
similarity index 100%
rename from network-documents/Cargo.toml
rename to lib/network-documents/Cargo.toml
diff --git a/network-documents/src/lib.rs b/lib/network-documents/src/lib.rs
similarity index 100%
rename from network-documents/src/lib.rs
rename to lib/network-documents/src/lib.rs
diff --git a/network-documents/src/network_documents.pest b/lib/network-documents/src/network_documents.pest
similarity index 100%
rename from network-documents/src/network_documents.pest
rename to lib/network-documents/src/network_documents.pest
diff --git a/network-documents/src/network_endpoint.rs b/lib/network-documents/src/network_endpoint.rs
similarity index 100%
rename from network-documents/src/network_endpoint.rs
rename to lib/network-documents/src/network_endpoint.rs
diff --git a/network-documents/src/network_head.rs b/lib/network-documents/src/network_head.rs
similarity index 100%
rename from network-documents/src/network_head.rs
rename to lib/network-documents/src/network_head.rs
diff --git a/network-documents/src/network_head_v2.rs b/lib/network-documents/src/network_head_v2.rs
similarity index 100%
rename from network-documents/src/network_head_v2.rs
rename to lib/network-documents/src/network_head_v2.rs
diff --git a/network-documents/src/network_head_v3.rs b/lib/network-documents/src/network_head_v3.rs
similarity index 100%
rename from network-documents/src/network_head_v3.rs
rename to lib/network-documents/src/network_head_v3.rs
diff --git a/network-documents/src/network_peer.rs b/lib/network-documents/src/network_peer.rs
similarity index 100%
rename from network-documents/src/network_peer.rs
rename to lib/network-documents/src/network_peer.rs
diff --git a/network/Cargo.toml b/lib/network/Cargo.toml
similarity index 100%
rename from network/Cargo.toml
rename to lib/network/Cargo.toml
diff --git a/network/lib.rs b/lib/network/lib.rs
similarity index 100%
rename from network/lib.rs
rename to lib/network/lib.rs
diff --git a/skeleton-module/Cargo.toml b/lib/skeleton-module/Cargo.toml
similarity index 100%
rename from skeleton-module/Cargo.toml
rename to lib/skeleton-module/Cargo.toml
diff --git a/skeleton-module/lib.rs b/lib/skeleton-module/lib.rs
similarity index 100%
rename from skeleton-module/lib.rs
rename to lib/skeleton-module/lib.rs
diff --git a/tui/Cargo.toml b/lib/tui/Cargo.toml
similarity index 100%
rename from tui/Cargo.toml
rename to lib/tui/Cargo.toml
diff --git a/tui/lib.rs b/lib/tui/lib.rs
similarity index 100%
rename from tui/lib.rs
rename to lib/tui/lib.rs
diff --git a/wot/Cargo.toml b/lib/wot/Cargo.toml
similarity index 100%
rename from wot/Cargo.toml
rename to lib/wot/Cargo.toml
diff --git a/wot/README.md b/lib/wot/README.md
similarity index 100%
rename from wot/README.md
rename to lib/wot/README.md
diff --git a/wot/data/mod.rs b/lib/wot/data/mod.rs
similarity index 100%
rename from wot/data/mod.rs
rename to lib/wot/data/mod.rs
diff --git a/wot/data/rusty.rs b/lib/wot/data/rusty.rs
similarity index 100%
rename from wot/data/rusty.rs
rename to lib/wot/data/rusty.rs
diff --git a/wot/lib.rs b/lib/wot/lib.rs
similarity index 100%
rename from wot/lib.rs
rename to lib/wot/lib.rs
diff --git a/wot/operations/centrality.rs b/lib/wot/operations/centrality.rs
similarity index 100%
rename from wot/operations/centrality.rs
rename to lib/wot/operations/centrality.rs
diff --git a/wot/operations/distance.rs b/lib/wot/operations/distance.rs
similarity index 100%
rename from wot/operations/distance.rs
rename to lib/wot/operations/distance.rs
diff --git a/wot/operations/file.rs b/lib/wot/operations/file.rs
similarity index 100%
rename from wot/operations/file.rs
rename to lib/wot/operations/file.rs
diff --git a/wot/operations/mod.rs b/lib/wot/operations/mod.rs
similarity index 100%
rename from wot/operations/mod.rs
rename to lib/wot/operations/mod.rs
diff --git a/wot/operations/path.rs b/lib/wot/operations/path.rs
similarity index 100%
rename from wot/operations/path.rs
rename to lib/wot/operations/path.rs
diff --git a/wot/tests/g1_genesis.bin b/lib/wot/tests/g1_genesis.bin
similarity index 100%
rename from wot/tests/g1_genesis.bin
rename to lib/wot/tests/g1_genesis.bin
diff --git a/ws2p-messages/Cargo.toml b/lib/ws2p-messages/Cargo.toml
similarity index 100%
rename from ws2p-messages/Cargo.toml
rename to lib/ws2p-messages/Cargo.toml
diff --git a/ws2p-messages/lib.rs b/lib/ws2p-messages/lib.rs
similarity index 100%
rename from ws2p-messages/lib.rs
rename to lib/ws2p-messages/lib.rs
diff --git a/ws2p-messages/v2/api_features.rs b/lib/ws2p-messages/v2/api_features.rs
similarity index 100%
rename from ws2p-messages/v2/api_features.rs
rename to lib/ws2p-messages/v2/api_features.rs
diff --git a/ws2p-messages/v2/connect.rs b/lib/ws2p-messages/v2/connect.rs
similarity index 100%
rename from ws2p-messages/v2/connect.rs
rename to lib/ws2p-messages/v2/connect.rs
diff --git a/ws2p-messages/v2/mod.rs b/lib/ws2p-messages/v2/mod.rs
similarity index 100%
rename from ws2p-messages/v2/mod.rs
rename to lib/ws2p-messages/v2/mod.rs
diff --git a/ws2p-messages/v2/ok.rs b/lib/ws2p-messages/v2/ok.rs
similarity index 100%
rename from ws2p-messages/v2/ok.rs
rename to lib/ws2p-messages/v2/ok.rs
diff --git a/ws2p-messages/v2/payload_container.rs b/lib/ws2p-messages/v2/payload_container.rs
similarity index 100%
rename from ws2p-messages/v2/payload_container.rs
rename to lib/ws2p-messages/v2/payload_container.rs
diff --git a/ws2p-messages/v2/req_responses.rs b/lib/ws2p-messages/v2/req_responses.rs
similarity index 100%
rename from ws2p-messages/v2/req_responses.rs
rename to lib/ws2p-messages/v2/req_responses.rs
diff --git a/ws2p-messages/v2/requests.rs b/lib/ws2p-messages/v2/requests.rs
similarity index 100%
rename from ws2p-messages/v2/requests.rs
rename to lib/ws2p-messages/v2/requests.rs
diff --git a/ws2p-messages/v2/secret_flags.rs b/lib/ws2p-messages/v2/secret_flags.rs
similarity index 100%
rename from ws2p-messages/v2/secret_flags.rs
rename to lib/ws2p-messages/v2/secret_flags.rs
diff --git a/ws2p-v1-legacy/Cargo.toml b/lib/ws2p-v1-legacy/Cargo.toml
similarity index 100%
rename from ws2p-v1-legacy/Cargo.toml
rename to lib/ws2p-v1-legacy/Cargo.toml
diff --git a/ws2p-v1-legacy/ack_message.rs b/lib/ws2p-v1-legacy/ack_message.rs
similarity index 100%
rename from ws2p-v1-legacy/ack_message.rs
rename to lib/ws2p-v1-legacy/ack_message.rs
diff --git a/ws2p-v1-legacy/clippy.toml b/lib/ws2p-v1-legacy/clippy.toml
similarity index 100%
rename from ws2p-v1-legacy/clippy.toml
rename to lib/ws2p-v1-legacy/clippy.toml
diff --git a/ws2p-v1-legacy/connect_message.rs b/lib/ws2p-v1-legacy/connect_message.rs
similarity index 100%
rename from ws2p-v1-legacy/connect_message.rs
rename to lib/ws2p-v1-legacy/connect_message.rs
diff --git a/ws2p-v1-legacy/constants.rs b/lib/ws2p-v1-legacy/constants.rs
similarity index 100%
rename from ws2p-v1-legacy/constants.rs
rename to lib/ws2p-v1-legacy/constants.rs
diff --git a/ws2p-v1-legacy/datas.rs b/lib/ws2p-v1-legacy/datas.rs
similarity index 100%
rename from ws2p-v1-legacy/datas.rs
rename to lib/ws2p-v1-legacy/datas.rs
diff --git a/ws2p-v1-legacy/heads.rs b/lib/ws2p-v1-legacy/heads.rs
similarity index 100%
rename from ws2p-v1-legacy/heads.rs
rename to lib/ws2p-v1-legacy/heads.rs
diff --git a/ws2p-v1-legacy/lib.rs b/lib/ws2p-v1-legacy/lib.rs
similarity index 100%
rename from ws2p-v1-legacy/lib.rs
rename to lib/ws2p-v1-legacy/lib.rs
diff --git a/ws2p-v1-legacy/ok_message.rs b/lib/ws2p-v1-legacy/ok_message.rs
similarity index 100%
rename from ws2p-v1-legacy/ok_message.rs
rename to lib/ws2p-v1-legacy/ok_message.rs
diff --git a/ws2p-v1-legacy/parsers/blocks.rs b/lib/ws2p-v1-legacy/parsers/blocks.rs
similarity index 100%
rename from ws2p-v1-legacy/parsers/blocks.rs
rename to lib/ws2p-v1-legacy/parsers/blocks.rs
diff --git a/ws2p-v1-legacy/parsers/excluded.rs b/lib/ws2p-v1-legacy/parsers/excluded.rs
similarity index 100%
rename from ws2p-v1-legacy/parsers/excluded.rs
rename to lib/ws2p-v1-legacy/parsers/excluded.rs
diff --git a/ws2p-v1-legacy/parsers/identities.rs b/lib/ws2p-v1-legacy/parsers/identities.rs
similarity index 100%
rename from ws2p-v1-legacy/parsers/identities.rs
rename to lib/ws2p-v1-legacy/parsers/identities.rs
diff --git a/ws2p-v1-legacy/parsers/memberships.rs b/lib/ws2p-v1-legacy/parsers/memberships.rs
similarity index 100%
rename from ws2p-v1-legacy/parsers/memberships.rs
rename to lib/ws2p-v1-legacy/parsers/memberships.rs
diff --git a/ws2p-v1-legacy/parsers/mod.rs b/lib/ws2p-v1-legacy/parsers/mod.rs
similarity index 100%
rename from ws2p-v1-legacy/parsers/mod.rs
rename to lib/ws2p-v1-legacy/parsers/mod.rs
diff --git a/ws2p-v1-legacy/parsers/transactions.rs b/lib/ws2p-v1-legacy/parsers/transactions.rs
similarity index 100%
rename from ws2p-v1-legacy/parsers/transactions.rs
rename to lib/ws2p-v1-legacy/parsers/transactions.rs
diff --git a/ws2p-v1-legacy/serializer.rs b/lib/ws2p-v1-legacy/serializer.rs
similarity index 100%
rename from ws2p-v1-legacy/serializer.rs
rename to lib/ws2p-v1-legacy/serializer.rs
diff --git a/ws2p-v1-legacy/ws2p_connection.rs b/lib/ws2p-v1-legacy/ws2p_connection.rs
similarity index 100%
rename from ws2p-v1-legacy/ws2p_connection.rs
rename to lib/ws2p-v1-legacy/ws2p_connection.rs
diff --git a/ws2p-v1-legacy/ws2p_db.rs b/lib/ws2p-v1-legacy/ws2p_db.rs
similarity index 100%
rename from ws2p-v1-legacy/ws2p_db.rs
rename to lib/ws2p-v1-legacy/ws2p_db.rs
diff --git a/ws2p-v1-legacy/ws2p_requests.rs b/lib/ws2p-v1-legacy/ws2p_requests.rs
similarity index 100%
rename from ws2p-v1-legacy/ws2p_requests.rs
rename to lib/ws2p-v1-legacy/ws2p_requests.rs
diff --git a/ws2p/Cargo.toml b/lib/ws2p/Cargo.toml
similarity index 100%
rename from ws2p/Cargo.toml
rename to lib/ws2p/Cargo.toml
diff --git a/ws2p/constants.rs b/lib/ws2p/constants.rs
similarity index 100%
rename from ws2p/constants.rs
rename to lib/ws2p/constants.rs
diff --git a/ws2p/generate_peer.rs b/lib/ws2p/generate_peer.rs
similarity index 100%
rename from ws2p/generate_peer.rs
rename to lib/ws2p/generate_peer.rs
diff --git a/ws2p/lib.rs b/lib/ws2p/lib.rs
similarity index 100%
rename from ws2p/lib.rs
rename to lib/ws2p/lib.rs