Added Main sample class.