initial distributed app implmented