Removing res dir, Fixing license