Implementing output

Main
- fixing main menu

DataSource
- adding writer