Fix int but, moved some methods back to LightWriter
Fix gitnore to include sketch and sample