move widget class into separate file, create includes dir