Implemented initial main