versin 1.0.0, many changes and fixed many bugs