added sample data and some interface changes

Some changes to input file format