added main.cpp source