removed migrations from api
added blocks handling
added IPs handling