code cleanup. many older files is deleted, something useful is added.