Move all search stage actions to actions.js

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>