Add solver logic

Add Writer file