added skeleton and api testing code