Separated components into different files and moved them into separate folder wordanalyzer