Add new licence. Remove waste code.