Wt approach in serial class applied.

.gitignore also added.