changed mywebpage url
finished main functionality in one function, deleted unnecessary functions