Add main files

+ Master source code with initial implementation.
+ Slave source code with initial implementation.