updated markdown
code format && removed __construct function