Fixed minor issues
Added LICENSE and headers