Added somwhat proper main file