change to sinatra module
complete task#3 and task#4