Moved main to package