add main-funtion and README