Moved main into cmd directory