added main lib file