Moved code to chrome extension folder